﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace S3Sync
{
    public interface IPersistenceLayer
    {
        void Save(Entities.Patch patch);
        Entities.Patch LoadPatchById(int patchId);

        void Save(Entities.Node node);
        Entities.Node LoadNodeById(int nodeId);

        List<Entities.Patch> GetRequiredPatchByNodeId(int nodeId);
    }
}
